package org.xtframe.service;

public class AjaxDataHandlerException extends Exception {

	private static final long serialVersionUID = 2465935184608103871L;
	
	private int flag = 0;

	public AjaxDataHandlerException(){
		super();
	}
	
	public AjaxDataHandlerException(int flag){
		super();
		this.flag = flag;
	}
	
	public AjaxDataHandlerException(String message){
		super(message);
	}
	
	public AjaxDataHandlerException(String message, int flag){
		super(message);
		this.flag = flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getFlag() {
		return flag;
	}

}
